package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName ProductionPickReturnCumSummaryVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/6/15 9:02
 * @Version 1.0
 **/
@Data
@ApiModel("生产订单领料汇总表")
public class ProductionPickReturnCumSummaryVo {

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "产品Id")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "产品名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "产品编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "生产订单编号")
    @TableField("voucher_code")
    private String voucherCode;


    @ApiModelProperty(value = "预计开工日期")
    @TableField("expect_start_date")
    private LocalDate expectStartDate;

    @ApiModelProperty(value = "预计完工日期")
    @TableField("expect_finish_date")
    private LocalDate expectFinishDate;

    @ApiModelProperty(value = "产品单位名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "产品数量（主计量）")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;

    @ApiModelProperty(value = "计划领料数")
    private BigDecimal plannedQuantity;

    @ApiModelProperty(value = "领料数")
    private BigDecimal cumPickQuantity;

    @ApiModelProperty(value = "补料数")
    private BigDecimal cumRepairQuantity;

    @ApiModelProperty(value = "退料数")
    private BigDecimal cumRetQuantity;


}
